﻿namespace WMS6.Web.BaseInfoServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DataContract(Name="CartonQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity"), DebuggerStepThrough, GeneratedCode("System.Runtime.Serialization", "3.0.0.0")]
    public class CartonQueryEntity : BaseQuery
    {
        [OptionalField]
        private string CartonGroupField;
        [OptionalField]
        private string CartonIDField;
        [OptionalField]
        private string CartonTypeField;
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private DateTime CreatedDateField;
        [OptionalField]
        private decimal CubeField;
        [OptionalField]
        private string DescriptionField;
        [OptionalField]
        private decimal HeightField;
        [OptionalField]
        private string IsActiveField;
        [OptionalField]
        private decimal LengthField;
        [OptionalField]
        private decimal MaxCountField;
        [OptionalField]
        private decimal MaxWeightField;
        [OptionalField]
        private int RowIDField;
        [OptionalField]
        private int SeqNoField;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private DateTime UpdatedDateField;
        [OptionalField]
        private string WhIDField;
        [OptionalField]
        private decimal WidthField;

        [DataMember]
        public string CartonGroup
        {
            get
            {
                return this.CartonGroupField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CartonGroupField, value))
                {
                    this.CartonGroupField = value;
                    base.RaisePropertyChanged("CartonGroup");
                }
            }
        }

        [DataMember]
        public string CartonID
        {
            get
            {
                return this.CartonIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CartonIDField, value))
                {
                    this.CartonIDField = value;
                    base.RaisePropertyChanged("CartonID");
                }
            }
        }

        [DataMember]
        public string CartonType
        {
            get
            {
                return this.CartonTypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CartonTypeField, value))
                {
                    this.CartonTypeField = value;
                    base.RaisePropertyChanged("CartonType");
                }
            }
        }

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    base.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public DateTime CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!this.CreatedDateField.Equals(value))
                {
                    this.CreatedDateField = value;
                    base.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public decimal Cube
        {
            get
            {
                return this.CubeField;
            }
            set
            {
                if (!this.CubeField.Equals(value))
                {
                    this.CubeField = value;
                    base.RaisePropertyChanged("Cube");
                }
            }
        }

        [DataMember]
        public string Description
        {
            get
            {
                return this.DescriptionField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DescriptionField, value))
                {
                    this.DescriptionField = value;
                    base.RaisePropertyChanged("Description");
                }
            }
        }

        [DataMember]
        public decimal Height
        {
            get
            {
                return this.HeightField;
            }
            set
            {
                if (!this.HeightField.Equals(value))
                {
                    this.HeightField = value;
                    base.RaisePropertyChanged("Height");
                }
            }
        }

        [DataMember]
        public string IsActive
        {
            get
            {
                return this.IsActiveField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IsActiveField, value))
                {
                    this.IsActiveField = value;
                    base.RaisePropertyChanged("IsActive");
                }
            }
        }

        [DataMember]
        public decimal Length
        {
            get
            {
                return this.LengthField;
            }
            set
            {
                if (!this.LengthField.Equals(value))
                {
                    this.LengthField = value;
                    base.RaisePropertyChanged("Length");
                }
            }
        }

        [DataMember]
        public decimal MaxCount
        {
            get
            {
                return this.MaxCountField;
            }
            set
            {
                if (!this.MaxCountField.Equals(value))
                {
                    this.MaxCountField = value;
                    base.RaisePropertyChanged("MaxCount");
                }
            }
        }

        [DataMember]
        public decimal MaxWeight
        {
            get
            {
                return this.MaxWeightField;
            }
            set
            {
                if (!this.MaxWeightField.Equals(value))
                {
                    this.MaxWeightField = value;
                    base.RaisePropertyChanged("MaxWeight");
                }
            }
        }

        [DataMember]
        public int RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!this.RowIDField.Equals(value))
                {
                    this.RowIDField = value;
                    base.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public int SeqNo
        {
            get
            {
                return this.SeqNoField;
            }
            set
            {
                if (!this.SeqNoField.Equals(value))
                {
                    this.SeqNoField = value;
                    base.RaisePropertyChanged("SeqNo");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    base.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public DateTime UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!this.UpdatedDateField.Equals(value))
                {
                    this.UpdatedDateField = value;
                    base.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string WhID
        {
            get
            {
                return this.WhIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhIDField, value))
                {
                    this.WhIDField = value;
                    base.RaisePropertyChanged("WhID");
                }
            }
        }

        [DataMember]
        public decimal Width
        {
            get
            {
                return this.WidthField;
            }
            set
            {
                if (!this.WidthField.Equals(value))
                {
                    this.WidthField = value;
                    base.RaisePropertyChanged("Width");
                }
            }
        }
    }
}

